package com.jld.managerialsystemforcovid19.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jld.managerialsystemforcovid19.entity.Covid19Data;
import com.jld.managerialsystemforcovid19.entity.LineTrend;
import com.jld.managerialsystemforcovid19.mapper.IndexMapper;
import com.jld.managerialsystemforcovid19.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndexServiceImpl extends ServiceImpl<IndexMapper, Covid19Data> implements IndexService {
    @Autowired IndexMapper indexMapper;
    @Override
    public List<LineTrend> findSevenData() {
        List<LineTrend> list7=indexMapper.findSevenData();
        return list7;
    }
}
